From: Andy Holmes Date: Mon, 2 Apr 2018 21:54:43 +0000 (-0700) Subject: system: Align submenu labels with parent - adjust for deeper hierarchies X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~970^2^2~14 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=61e9f51274252c7d94a56766903e9563b232eaad;p=gnome-shell.git system: Align submenu labels with parent - adjust for deeper hierarchies Adjust the previous commit which applied the alignment to :first-child descendants, instead of only immediate children. This fixes alignment issues for a number of Shell extensions by making it easier to override with a .popup-menu-item style-subclass. --- diff --git a/data/theme/gnome-shell-sass/_common.scss b/data/theme/gnome-shell-sass/_common.scss index f83b0d88f..2f05098df 100644 --- a/data/theme/gnome-shell-sass/_common.scss +++ b/data/theme/gnome-shell-sass/_common.scss @@ -1111,7 +1111,7 @@ StScrollBar { .aggregate-menu { min-width: 21em; .popup-menu-icon { padding: 0 4px; } - .popup-sub-menu .popup-menu-item :first-child { + .popup-sub-menu .popup-menu-item > :first-child { &:ltr { /* 12px spacing + 2*4px padding */ padding-left: 20px; margin-left: 1.09em; } &:rtl { /* 12px spacing + 2*4px padding */